package com.test.spring.test.xml.bean.replacemethod;

import org.springframework.beans.factory.support.MethodReplacer;

import java.lang.reflect.Method;

public class MyReplaceMethod implements MethodReplacer {
	@Override
	public Object reimplement(Object obj, Method method, Object[] args) throws Throwable {
		System.out.println(obj);
		System.out.println(method);
		System.out.println(args);
		return "reimplement result";
	}
}
